package com.hst.capacity.domain.model.response.setting.line;

import com.hst.capacity.domain.model.entity.setting.line.CityLineEntity;
import com.hst.capacity.domain.model.entity.setting.line.IntercityLineEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class CustomCityLineVO {

    private String idLine;
    private String idCityLine;
    private String intercityLineAlias;
    private String intercityLineName;
    private String idFranchisee;
    private String startCityCode;
    private String startCity;
    private String startCityName;
    private String startCityDisplayName;
    private String endCityCode;
    private String endCity;
    private String endCityName;
    private String endCityDisplayName;
    private String localServiceCall;
    private String smallExpressMemo;
    private String intercityLinePriceLink;
    private String memo;
    private Integer lineSort;
    private Integer financeBatch;
    private Integer onlineStatus;
    private Float couponDiscount;
    private Float lineSubsidy;
    private Float noTaskLineSubsidy;
    private Integer showTime;
    private Float taskInterval;
    private String carpoolOperateTime;
    private String idRelationLine;

    private String stationRegionCode;

    public CustomCityLineVO(CityLineEntity clEntity, IntercityLineEntity icLineEntity) {

        this.stationRegionCode = clEntity.getStationRegionCode();

        this.idLine = icLineEntity.getIdLine();
        this.intercityLineAlias = icLineEntity.getIntercityLineAlias();
        this.intercityLineName = icLineEntity.getIntercityLineName();
        this.idFranchisee = icLineEntity.getIdFranchisee();
        this.startCityCode = icLineEntity.getStartCityCode();
        this.startCity = icLineEntity.getStartCity();
        this.startCityName = icLineEntity.getStartCityName();
        this.startCityDisplayName = icLineEntity.getStartCityDisplayName();
        this.endCityCode = icLineEntity.getEndCityCode();
        this.endCity = icLineEntity.getEndCity();
        this.endCityName = icLineEntity.getEndCityName();
        this.endCityDisplayName = icLineEntity.getEndCityDisplayName();
        this.localServiceCall = icLineEntity.getLocalServiceCall();
        this.smallExpressMemo = icLineEntity.getSmallExpressMemo();
        this.intercityLinePriceLink = icLineEntity.getIntercityLinePriceLink();
        this.memo = icLineEntity.getMemo();
        this.lineSort = icLineEntity.getLineSort();
        this.financeBatch = icLineEntity.getFinanceBatch();
        this.onlineStatus = icLineEntity.getOnlineStatus();
        this.couponDiscount = icLineEntity.getCouponDiscount();
        this.lineSubsidy = icLineEntity.getLineSubsidy();
        this.noTaskLineSubsidy = icLineEntity.getNoTaskLineSubsidy();
        this.showTime = icLineEntity.getShowTime();
        this.taskInterval = icLineEntity.getTaskInterval();
        this.carpoolOperateTime = icLineEntity.getCarpoolOperateTime();
        this.idRelationLine = icLineEntity.getIdRelationLine();

    }
}
